Prepare Interview

Mock Exams

Make Homepage

Bookmark this page

Subscribe Email Address

Knockout JS Interview Questions and Answers

Question: Explain two-way data binding in Knockout JS.
Answer: Two-way data binding in Knockout JS ensures that when the UI changes, the underlying data model is automatically updated, and vice versa.

Example:

HTML: ; JavaScript: var viewModel = { name: ko.observable('John') };
Is it helpful? Yes No

Most helpful rated by users:

©2024 WithoutBook